package com.hsogoo.study.springapplication.listener;

import org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent;
import org.springframework.context.ApplicationListener;

/**
 * @Author huangsaigang
 * Created @2019-10-05.
 */
public class SpringApplicationListener implements ApplicationListener<ApplicationEnvironmentPreparedEvent> {


    @Override
    public void onApplicationEvent(ApplicationEnvironmentPreparedEvent event) {
        System.out.println("===========SpringApplicationListener=====ApplicationEnvironmentPreparedEvent======");
    }

}
